package com.grade.Beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Teacher {
    private int id;
    private String tname;
    private String tpass;
    private int tage;
    private String tsex;
    private int tdel;

    public Teacher(String tname, String tpass, int tage, String tsex, int tdel) {
        this.tname = tname;
        this.tpass = tpass;
        this.tage = tage;
        this.tsex = tsex;
        this.tdel = tdel;
    }
}
